﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections;
using TeamNitro.App_Code;

namespace TeamNitro.Student
{
    public partial class Students_Home : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["Student"] != null)
            {
                DBManager_Jowie db = (DBManager_Jowie)Session["Student"];
                lblStudentName.Text = db.Name;
            }
            else
            {
                Response.Redirect("Default.aspx");
            }            

        }
            
    }
}